3.1.43 \(\int \frac {\log (c (a+\frac {b}{x^2})^p)}{x^3} \, dx\) [43]

Optimal. Leaf size=35 \[ \frac {p}{2 x^2}-\frac {\left (a+\frac {b}{x^2}\right ) \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{2 b} \]

[Out]

1/2*p/x^2-1/2*(a+b/x^2)*ln(c*(a+b/x^2)^p)/b

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2504, 2436, 2332} \begin {gather*} \frac {p}{2 x^2}-\frac {\left (a+\frac {b}{x^2}\right ) \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{2 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Log[c*(a + b/x^2)^p]/x^3,x]

[Out]

p/(2*x^2) - ((a + b/x^2)*Log[c*(a + b/x^2)^p])/(2*b)

Rule 2332

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2436

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2504

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rubi steps

\begin {align*} \int \frac {\log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{x^3} \, dx &=-\left (\frac {1}{2} \text {Subst}\left (\int \log \left (c (a+b x)^p\right ) \, dx,x,\frac {1}{x^2}\right )\right )\\ &=-\frac {\text {Subst}\left (\int \log \left (c x^p\right ) \, dx,x,a+\frac {b}{x^2}\right )}{2 b}\\ &=\frac {p}{2 x^2}-\frac {\left (a+\frac {b}{x^2}\right ) \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{2 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 34, normalized size = 0.97 \begin {gather*} \frac {1}{2} \left (\frac {p}{x^2}-\frac {\left (a+\frac {b}{x^2}\right ) \log \left (c \left (a+\frac {b}{x^2}\right )^p\right )}{b}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Log[c*(a + b/x^2)^p]/x^3,x]

[Out]

(p/x^2 - ((a + b/x^2)*Log[c*(a + b/x^2)^p])/b)/2

________________________________________________________________________________________

Maple [A]
time = 0.31, size = 37, normalized size = 1.06

method result size
derivativedivides \(-\frac {\ln \left (c \left (a +\frac {b}{x^{2}}\right )^{p}\right ) \left (a +\frac {b}{x^{2}}\right )-\left (a +\frac {b}{x^{2}}\right ) p}{2 b}\) \(37\)
default \(-\frac {\ln \left (c \left (a +\frac {b}{x^{2}}\right )^{p}\right ) \left (a +\frac {b}{x^{2}}\right )-\left (a +\frac {b}{x^{2}}\right ) p}{2 b}\) \(37\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(ln(c*(a+b/x^2)^p)/x^3,x,method=_RETURNVERBOSE)

[Out]

-1/2/b*(ln(c*(a+b/x^2)^p)*(a+b/x^2)-(a+b/x^2)*p)

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 54, normalized size = 1.54 \begin {gather*} -\frac {1}{2} \, b p {\left (\frac {a \log \left (a x^{2} + b\right )}{b^{2}} - \frac {a \log \left (x^{2}\right )}{b^{2}} - \frac {1}{b x^{2}}\right )} - \frac {\log \left ({\left (a + \frac {b}{x^{2}}\right )}^{p} c\right )}{2 \, x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(a+b/x^2)^p)/x^3,x, algorithm="maxima")

[Out]

-1/2*b*p*(a*log(a*x^2 + b)/b^2 - a*log(x^2)/b^2 - 1/(b*x^2)) - 1/2*log((a + b/x^2)^p*c)/x^2

________________________________________________________________________________________

Fricas [A]
time = 0.37, size = 41, normalized size = 1.17 \begin {gather*} \frac {b p - b \log \left (c\right ) - {\left (a p x^{2} + b p\right )} \log \left (\frac {a x^{2} + b}{x^{2}}\right )}{2 \, b x^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(a+b/x^2)^p)/x^3,x, algorithm="fricas")

[Out]

1/2*(b*p - b*log(c) - (a*p*x^2 + b*p)*log((a*x^2 + b)/x^2))/(b*x^2)

________________________________________________________________________________________

Sympy [A]
time = 1.05, size = 53, normalized size = 1.51 \begin {gather*} \begin {cases} - \frac {a \log {\left (c \left (a + \frac {b}{x^{2}}\right )^{p} \right )}}{2 b} + \frac {p}{2 x^{2}} - \frac {\log {\left (c \left (a + \frac {b}{x^{2}}\right )^{p} \right )}}{2 x^{2}} & \text {for}\: b \neq 0 \\- \frac {\log {\left (a^{p} c \right )}}{2 x^{2}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(ln(c*(a+b/x**2)**p)/x**3,x)

[Out]

Piecewise((-a*log(c*(a + b/x**2)**p)/(2*b) + p/(2*x**2) - log(c*(a + b/x**2)**p)/(2*x**2), Ne(b, 0)), (-log(a*
*p*c)/(2*x**2), True))

________________________________________________________________________________________

Giac [A]
time = 3.28, size = 57, normalized size = 1.63 \begin {gather*} -\frac {p {\left (\frac {{\left (a x^{2} + b\right )} \log \left (\frac {a x^{2} + b}{x^{2}}\right )}{x^{2}} - \frac {a x^{2} + b}{x^{2}}\right )} + \frac {{\left (a x^{2} + b\right )} \log \left (c\right )}{x^{2}}}{2 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(log(c*(a+b/x^2)^p)/x^3,x, algorithm="giac")

[Out]

-1/2*(p*((a*x^2 + b)*log((a*x^2 + b)/x^2)/x^2 - (a*x^2 + b)/x^2) + (a*x^2 + b)*log(c)/x^2)/b

________________________________________________________________________________________

Mupad [B]
time = 0.24, size = 47, normalized size = 1.34 \begin {gather*} \frac {p}{2\,x^2}-\frac {\ln \left (c\,{\left (a+\frac {b}{x^2}\right )}^p\right )}{2\,x^2}-\frac {a\,p\,\ln \left (a\,x^2+b\right )}{2\,b}+\frac {a\,p\,\ln \left (x\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*(a + b/x^2)^p)/x^3,x)

[Out]

p/(2*x^2) - log(c*(a + b/x^2)^p)/(2*x^2) - (a*p*log(b + a*x^2))/(2*b) + (a*p*log(x))/b

________________________________________________________________________________________